<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>联系客服</title>
		<script src="js/mui.min.js"></script>
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="css/base.css" />
		<script src="js/flexible.js"></script>
		<link rel="stylesheet" href="css/service.css" />
		<script src="js/jquery-3.1.1.js"></script>
		<script src="js/clipboard.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/confi.js"></script>
		<script src="js/template.js" type="text/javascript" charset="utf-8"></script>

	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">联系客服</h1>
		</header>
		<div class="serviceMain">
			<h5>微信客服</h5>
			<p>
				<input id="foo1" value="xingfu135257" />
				<button class="btn" data-clipboard-action="copy" data-clipboard-target="#foo1">复制</button>
			</p>
			<h5>微信客服</h5>
			<p>
				<input id="foo2" value="eox987654321" />
				<button class="btn" data-clipboard-action="copy" data-clipboard-target="#foo2">复制</button>
			</p>
		</div>
		<script type="text/javascript">
			//复制
			var clipboard = new Clipboard('.btn');
			clipboard.on('success', function(e) {
				mui.toast('复制成功');
			});
		</script>
	</body>

</html>